package com.edu.exam.enums.examination.paper;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 答案识别状态枚举
 */
public enum AnswerRecognitionStatus implements BaseEnum {
    PENDING("PENDING", "待识别"),
    PROCESSING("PROCESSING", "识别中"),
    COMPLETED("COMPLETED", "已完成"),
    FAILED("FAILED", "识别失败"),
    PARTIAL("PARTIAL", "部分识别"),
    MANUAL_REVIEW("MANUAL_REVIEW", "待人工审核"),
    VERIFIED("VERIFIED", "已验证"),
    CONFIRMED("CONFIRMED", "已确认"),
    REJECTED("REJECTED", "已拒绝"),
    CORRECTED("CORRECTED", "已校正"),
    REVIEWING("REVIEWING", "审核中"),
    APPROVED("APPROVED", "已批准"),
    CANCELLED("CANCELLED", "已取消"),
    TIMEOUT("TIMEOUT", "超时"),
    SUSPENDED("SUSPENDED", "已暂停");

    private final String code;
    private final String description;

    AnswerRecognitionStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
